package com.sat.order.pojo;

import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import java.io.Serializable;

public class Cart implements Serializable {
    @ApiModelProperty(value = "2级分类",required = false)
    @Column(name = "category_id2")
    private Integer categoryId2;//2级分类

    @ApiModelProperty(value = "3级分类",required = false)
    @Column(name = "category_id3")
    private Integer categoryId3;//3级分类

    @ApiModelProperty(value = "SPU_ID",required = false)
    @Column(name = "spu_id")
    private Long spuId;//SPU_ID

    @ApiModelProperty(value = "SKU_ID",required = false)
    @Column(name = "sku_id")
    private Long skuId;//SKU_ID


    @ApiModelProperty(value = "商品名称",required = false)
    @Column(name = "name")
    private String name;//商品名称

    @ApiModelProperty(value = "单价",required = false)
    @Column(name = "price")
    private Integer price;//单价

    @ApiModelProperty(value = "数量",required = false)
    @Column(name = "num")
    private Integer num;//数量

    @ApiModelProperty(value = "总金额",required = false)
    @Column(name = "money")
    private Integer money;//总金额
    @ApiModelProperty(value = "图片地址",required = false)
    @Column(name = "image")
    private String image;//图片地址

    @ApiModelProperty(value = "重量",required = false)
    @Column(name = "weight")
    private Integer weight;//重量

    public Integer getCategoryId2() {
        return categoryId2;
    }

    public void setCategoryId2(Integer categoryId2) {
        this.categoryId2 = categoryId2;
    }

    public Integer getCategoryId3() {
        return categoryId3;
    }

    public void setCategoryId3(Integer categoryId3) {
        this.categoryId3 = categoryId3;
    }

    public Long getSpuId() {
        return spuId;
    }

    public void setSpuId(Long spuId) {
        this.spuId = spuId;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }
}
